package test.vo
{
	import _Pan3D.display3D.Display3DSprite;
	
	import flash.display3D.Context3D;
	import flash.display3D.Context3DProgramType;
	
	public class TreeDisplay3DSprite extends Display3DSprite
	{
		public function TreeDisplay3DSprite(context:Context3D)
		{
			super(context);
		}
		override protected function setVc() : void {
			this.updateMatrix();
			_context.setProgramConstantsFromMatrix(Context3DProgramType.VERTEX, 4, modelMatrix, true);
			_context.setProgramConstantsFromVector(Context3DProgramType.FRAGMENT,0,Vector.<Number>( [ 1,1,1,0.99 ]));
		}
	}
}